package com.industrial.im.mapper;

import com.industrial.im.domain.ImFrequentContacts;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImFrequentContactsMapper {
    void insertFrequentContacts(ImFrequentContacts params);

    /**
     * 加载常用联系人列表
     * @param currentLoginUserId
     * @return
     */
    List<ImFrequentContacts> selectFcUserListByUserId(@Param("userId") String currentLoginUserId);

    List<ImFrequentContacts> selectFcUserList(ImFrequentContacts queryParams);

    void cacalFcUser(ImFrequentContacts removeParams);
}
